package com.example.victory.swagger.model;

import java.util.Objects;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.validation.annotation.Validated;

/**
 * ApiResponseAccountDeptInfoData
 */
@Validated
@javax.annotation.Generated(value = "io.swagger.codegen.languages.SpringCodegen", date = "2021-04-26T10:50:39.083+08:00")

public class ApiResponseAccountDeptInfoData   {
  @JsonProperty("account")
  private String account = null;

  @JsonProperty("image")
  private String image = null;

  @JsonProperty("tel")
  private String tel = null;

  @JsonProperty("name")
  private String name = null;

  @JsonProperty("address")
  private String address = null;

  public ApiResponseAccountDeptInfoData account(String account) {
    this.account = account;
    return this;
  }

  /**
   * 资金账号
   * @return account
  **/
  @ApiModelProperty(example = "456456465465", value = "资金账号")


  public String getAccount() {
    return account;
  }

  public void setAccount(String account) {
    this.account = account;
  }

  public ApiResponseAccountDeptInfoData image(String image) {
    this.image = image;
    return this;
  }

  /**
   * 公司logo
   * @return image
  **/
  @ApiModelProperty(example = "http://dsfsd.jpg", value = "公司logo")


  public String getImage() {
    return image;
  }

  public void setImage(String image) {
    this.image = image;
  }

  public ApiResponseAccountDeptInfoData tel(String tel) {
    this.tel = tel;
    return this;
  }

  /**
   * 电话
   * @return tel
  **/
  @ApiModelProperty(example = "16177510", value = "电话")


  public String getTel() {
    return tel;
  }

  public void setTel(String tel) {
    this.tel = tel;
  }

  public ApiResponseAccountDeptInfoData name(String name) {
    this.name = name;
    return this;
  }

  /**
   * 营业部名称
   * @return name
  **/
  @ApiModelProperty(example = "深圳南山营业部", value = "营业部名称")


  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }

  public ApiResponseAccountDeptInfoData address(String address) {
    this.address = address;
    return this;
  }

  /**
   * 地址
   * @return address
  **/
  @ApiModelProperty(example = "报业大厦", value = "地址")


  public String getAddress() {
    return address;
  }

  public void setAddress(String address) {
    this.address = address;
  }


  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    ApiResponseAccountDeptInfoData apiResponseAccountDeptInfoData = (ApiResponseAccountDeptInfoData) o;
    return Objects.equals(this.account, apiResponseAccountDeptInfoData.account) &&
        Objects.equals(this.image, apiResponseAccountDeptInfoData.image) &&
        Objects.equals(this.tel, apiResponseAccountDeptInfoData.tel) &&
        Objects.equals(this.name, apiResponseAccountDeptInfoData.name) &&
        Objects.equals(this.address, apiResponseAccountDeptInfoData.address);
  }

  @Override
  public int hashCode() {
    return Objects.hash(account, image, tel, name, address);
  }

  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class ApiResponseAccountDeptInfoData {\n");
    
    sb.append("    account: ").append(toIndentedString(account)).append("\n");
    sb.append("    image: ").append(toIndentedString(image)).append("\n");
    sb.append("    tel: ").append(toIndentedString(tel)).append("\n");
    sb.append("    name: ").append(toIndentedString(name)).append("\n");
    sb.append("    address: ").append(toIndentedString(address)).append("\n");
    sb.append("}");
    return sb.toString();
  }

  /**
   * Convert the given object to string with each line indented by 4 spaces
   * (except the first line).
   */
  private String toIndentedString(java.lang.Object o) {
    if (o == null) {
      return "null";
    }
    return o.toString().replace("\n", "\n    ");
  }
}

